import {
	$http
} from '@escook/request-miniprogram'
export default {
	fleetList(data) { //车队列表
		return $http.get('/order/supplier_applet/fleet/list', data)
	},
	examineDriver(data) { //司机加入列表
		return $http.post('/order/supplier_applet/fleet/examineDriver', data)
	},
	modifyJoinRecord(data) { //司机加入车队申请是否同意
		return $http.post('/order/supplier_applet/fleet/modifyJoinRecord', data)
	},
	fleetdetail(data) { //车队详情
		return $http.get('/order/supplier_applet/fleet/detail', data)
	},
	driverList(data) { //司机列表
		return $http.get('/order/supplier_applet/driver/list', data)
	},
	getDetails(data) { //司机详情
		return $http.get('/order/supplier_applet/driver/getDetails', data)
	},
	vehicleList(data) { //车辆管理
		return $http.get('/order/supplier_applet/vehicle/list', data)
	},
	vehicledetail(data) { //车辆详情
		return $http.get('/order/supplier_applet/vehicle/detail', data)
	},
	//版本查询
	queryVision(data) {
		return $http.get('/account/driver/queryVision', data);
	},
}